package cate.game.role.show.vehicle;

import cate.game.common.Copyable;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("载具皮肤")
public class VehicleSkinVO implements Copyable<VehicleSkinVO> {

	@NoteField("载具id")
	public int tid;

	@NoteField("等级")
	public int level;

	public VehicleSkinVO() {
	}

	public void read(VehicleSkin vehicle){
		this.tid = vehicle.tid;
		this.level = vehicle.level;
	}

	public VehicleSkinVO copy(){
		VehicleSkinVO cp = new VehicleSkinVO();
		cp.tid = tid;
		cp.level = level;
		return cp;
	}

	public void clear(){
		this.tid = 0;
		this.level = 0;
	}
}
